package cn.tedu.bonfire.admin.account.dao.persist.repository.impl;


import cn.tedu.bonfire.admin.account.dao.persist.mapper.UserRoleMapper;
import cn.tedu.bonfire.admin.account.dao.persist.repository.IUserRoleRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class UserRoleRepositoryImpl implements IUserRoleRepository {

    @Autowired
    private UserRoleMapper userRoleMapper;


    @Override
    public String selectRoleNameById(Long id) {
        return userRoleMapper.selectRoleNameById(id);
    }


}
